<h1 style="color:#FF3300;"><?php echo $guild['name']." - ".$guild['provide'] ?></h1>
<div id="box">
  <form action="<?php echo base_url();?>admin/guildbanner/<?php if(isset($_GET['id'])) echo "update?guildid=".$_GET['guildid']."&id=".$data['id'];else echo "insert?guildid=".$_GET['guildid'];?>" method="post" enctype="multipart/form-data">
    <fieldset id="person">
      <legend>&nbsp;&nbsp;
      <?php if(isset($_GET['id'])) echo "Edit "; else echo "Insert ";?>
      Guild's Banner&nbsp;&nbsp;</legend>
      <label>Avatar : </label>
      <input name="fuavatar" id="fuavatar" type="file" tabindex="2" />
      <img src="<?php echo base_url().'uploads/guildbanner/'. $data["avatar"];?>" width="200"/> <br>
      <label>Status : </label>
      <select name="status" style="margin-left:0;">
        <option value="0">Choice Status</option>
        <option value="1" <?php if($data['status']==1) echo "selected";?>>Highlights</option>
        <option value="2" <?php if($data['status']==2) echo "selected";?>>Normal</option>
        <option value="3" <?php if($data['status']==3) echo "selected";?>>Hide</option>
      </select>
      <br>
      <div style="float:left;padding-top:5px;padding-left:40%;">
        <input type="reset" value="Reset">
        &nbsp;&nbsp;&nbsp;&nbsp;
        <input type="submit" name="ok" value="Submit">
      </div>
    </fieldset>
  </form>
</div>
